// import { type App } from 'vue'
export { default as DiButton } from './components/DiButton/index.vue'
export { default as DiTable } from './components/DiTable/index.vue'
export { default as DiCheck } from './components/DiForm/DiCheck.vue'
export { default as DiTreeOrg } from './components/DiForm/DiTreeOrg.vue'
import { computed, ref } from 'vue'
import myi18n from './i18n'
export const locale = ref<keyof typeof myi18n>('en')
export const i18n = computed<typeof myi18n.zh_CN>(() => myi18n[locale.value])
// export default {
//   install(app: App) {
//     app.component(DiButton.name, DiButton)
//   }
// }
